package com.rx.mylist.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.rx.core.anno.RxRelationField;
import com.rx.core.anno.RxRelationInfo;
import com.rx.core.data.RxData;
import com.rx.core.dbase.RxMarkDbMust;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@RxData
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ListGuardInfo extends RxMarkDbMust {
    private static final long serialVersionUID = 1L;

    public static final String IMAGE = "image";
    public static final String NAME = "name";
    public static final String ASS_BID_ = "ass_bid";
    public static final String SCENE = "scene";
    public static final String TYPE = "type";

    public static final String ASS_BID="1";

    @TableField("STATUS")
    private String status;


    @TableField("NAME")
    private String name;
    @TableField("SCENE")
    private String scene;

    @TableField("TYPE")
    private String type;


    @RxRelationField(value = {
            @RxRelationInfo(tableName = "list_owner_info",fieldName = "bid",JudgeAppend="returnType=1"),
    })
    @TableField("ASS_BID")
    private String assBid;
    @TableField("IMAGE")
    private String image;

    @TableField("REMARK")
    private String remark;

}
